<!DOCTYPE html>
<html lang="zh">

<head>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
    <meta name="format-detection" content="telephone=no" />
    <meta charset="UTF-8" />
    <link href="__STATIC__/css/index.css" rel="stylesheet" />
    <link href="__STATIC__/css/common.css" rel="stylesheet" />
    <link href="__ADMINSTATIC__/css/element-ui.2.15.12.css" rel="stylesheet" />
    <script src="__ADMINSTATIC__/js/jquery-3.7.1.min.js"></script>
    <script src="__ADMINSTATIC__/js/vue.v2.7.14.js"></script>
    <script src="__ADMINSTATIC__/js/element-ui.2.15.12.js"></script>
    <script src="__STATIC__/js/axios.min.js"></script>
    <script src="__STATIC__/js/crypto-js.min.js"></script>
    <script src="__STATIC__/js/utils.js"></script>
    <meta name="keywords" content="老澳门,新澳门,新西兰,十点半,九点半,导航,资料">
    <meta name="description" content="1258导航是老澳门,新澳门,新西兰,十点半,九点半,各行各业资讯资料合并导航网站">
    <link href="{$favicon}" rel="icon" />
    <title>1258导航</title>
  
</head>

<body>
    <!-- 主题一样的改这个class="theme-grey" -->
    <div id="app" style="height: 100vh;">
        <!--头部-->
        <div class="header">
            <div class="logo-container logo-container-navs">
                <div class="logo-left">
                    <img src="__STATIC__/img/navs/navlogos.png" alt="1258导航logo" />
                </div>
                <div class="logo-right">
                    <img src="__STATIC__/img/1258_tawgx3.png" alt="logo" />
                </div>
            </div>
        </div>
        <div class="main-warp">
            <div class="box news-box">
                <div  class="riqi">
                    <span>
                        今:<span class="red-text">{{ solarMonth }}月{{ solarDate }}日1.</span><span class="red-text">{{ weekdayString }}.</span>农历:<span class="red-text">{{ lunarMonth }}月{{ lunarDate }}日.</span>煞<span class="red-text">{{ location }}</span>正冲生肖:<span class="red-text">{{ animal }}</span>
                    </span>
                </div>
            </div>
            <!--    广告-->
            <div class="adv-container">
                <a href="javascript:;">
                    <img src="__STATIC__/img/banner/navlogos_h67f3r.gif" alt="下载"/>
                </a>
            </div>

            {if !empty($list)}
            {foreach $list as  $vo}
            <div class="box pad" >
                <div >
                    <div class="list-titletu">
                        {if !empty($vo['thumb']) && !empty($vo['thumb']['url'])}
                            <img src="{$vo['thumb']['url']}"  alt="{$vo['title']}"/>
                        {/if}
                    </div>
                    <div  class="box22 clearfix">
                    {foreach $vo['navsList'] as $vl}
                            <div  class="dhsx22">
                                <a href="{$vl['path']}" target="_blank">
                                    {if !empty($vl['thumb']) && !empty($vl['thumb']['url'])}
                                    <img src="{$vl['thumb']['url']}"  alt="{$vl['title']}" />
                                    {/if}
                                    <div  class="item-div">
                                        <span  class="item-text">{$vl['title']}</span>
                                    </div>
                                </a>
                            </div>
                    {/foreach}
                    {if count($vo['navsList']) % 3 !== 0}
                        {for start="0" end="(3-(count($vo['navsList']) % 3))" step="1" name="i"}
                        <div  class="dhsx22">
                            <a href="javascript:;" target="_blank">
                                <img src="/static/img/navs/ddjr.png"  alt="等待添加" />
                                <div  class="item-div">
                                    <span  class="item-text">等待添加</span>
                                </div>
                            </a>
                        </div>
                        {/for}
                    {/if}
                    </div>
                </div>
            </div>
            {/foreach}
        {/if}
            
            <div class="box pad">
                <div class="foot-img">
                    <p >说明：本论坛所提供的内容、资料、图片和资讯，只应用在合法的资料探讨，暂不适用于其它，外围和使用。特此声明！</p>
                    <p >论坛免责声明：以上有广告内容均为赞助商提供，本站不对其经营行为负责。浏览或使用者须自行承担有关责任，本网站恕不负责。</p>
                    <p >【导航1258网】域名：<a href="https://www.125868.com/" class="black-text">www.125868.com</a><p>
                </div>
            </div>
        </div>
    </div>
</body>

<script>
    var TagLunarCal=class{constructor(a,n,e,t,l,r,u,o,s,g,C,h,i,L,w,T,c){this.BaseDays=a,this.Intercalation=n,this.BaseWeekday=e,this.BaseKanChih=t,this.MonthDays=[l,r,u,o,s,g,C,h,i,L,w,T,c]}};new Vue({el:"#app",data:()=>({FIRSTYEAR:1998,LASTYEAR:2032,solarYear:(new Date).getFullYear(),solarMonth:(new Date).getMonth()+1,solarDate:(new Date).getDate(),weekdayString:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"][(new Date).getDay()],lunarMonth:"",lunarDate:"",location:"",animal:"",clock:"",LunarCal:[new TagLunarCal(27,5,3,43,1,0,0,1,0,0,1,1,0,1,1,0,1),new TagLunarCal(46,0,4,48,1,0,0,1,0,0,1,0,1,1,1,0,1),new TagLunarCal(35,0,5,53,1,1,0,0,1,0,0,1,0,1,1,0,1),new TagLunarCal(23,4,0,59,1,1,0,1,0,1,0,0,1,0,1,0,1),new TagLunarCal(42,0,1,4,1,1,0,1,0,1,0,0,1,0,1,0,1),new TagLunarCal(31,0,2,9,1,1,0,1,1,0,1,0,0,1,0,1,0),new TagLunarCal(21,2,3,14,0,1,0,1,1,0,1,0,1,0,1,0,1),new TagLunarCal(39,0,5,20,0,1,0,1,0,1,1,0,1,0,1,0,1),new TagLunarCal(28,7,6,25,1,0,1,0,1,0,1,0,1,1,0,1,1),new TagLunarCal(48,0,0,30,0,0,1,0,0,1,0,1,1,1,0,1,1),new TagLunarCal(37,0,1,35,1,0,0,1,0,0,1,0,1,1,0,1,1),new TagLunarCal(25,5,3,41,1,1,0,0,1,0,0,1,0,1,0,1,1),new TagLunarCal(44,0,4,46,1,0,1,0,1,0,0,1,0,1,0,1,1),new TagLunarCal(33,0,5,51,1,0,1,1,0,1,0,0,1,0,1,0,1),new TagLunarCal(22,4,6,56,1,0,1,1,0,1,0,1,0,1,0,1,0),new TagLunarCal(40,0,1,2,1,0,1,1,0,1,0,1,0,1,0,1,0),new TagLunarCal(30,9,2,7,0,1,0,1,0,1,0,1,1,0,1,0,1),new TagLunarCal(49,0,3,12,0,1,0,0,1,0,1,1,1,0,1,0,1),new TagLunarCal(38,0,4,17,1,0,1,0,0,1,0,1,1,0,1,1,0),new TagLunarCal(27,6,6,23,0,1,0,1,0,0,1,0,1,0,1,1,1),new TagLunarCal(46,0,0,28,0,1,0,1,0,0,1,0,1,0,1,1,0),new TagLunarCal(35,0,1,33,0,1,1,0,1,0,0,1,0,0,1,1,0),new TagLunarCal(24,4,2,38,0,1,1,1,0,1,0,0,1,0,1,0,1),new TagLunarCal(42,0,4,44,0,1,1,0,1,0,1,0,1,0,1,0,1),new TagLunarCal(31,0,5,49,1,0,1,0,1,1,0,1,0,1,0,1,0),new TagLunarCal(21,2,6,54,0,1,0,1,0,1,0,1,1,0,1,0,1),new TagLunarCal(40,0,0,59,0,1,0,0,1,0,1,1,0,1,1,0,1),new TagLunarCal(28,6,2,5,1,0,1,0,0,1,0,1,0,1,1,1,0),new TagLunarCal(47,0,3,10,1,0,1,0,0,1,0,0,1,1,1,0,1),new TagLunarCal(36,0,4,15,1,1,0,1,0,0,1,0,0,1,1,0,1),new TagLunarCal(25,5,5,20,1,1,1,0,1,0,0,1,0,0,1,1,0),new TagLunarCal(43,0,0,26,1,1,0,1,0,1,0,1,0,0,1,0,1),new TagLunarCal(32,0,1,31,1,1,0,1,1,0,1,0,1,0,1,0,0),new TagLunarCal(22,3,2,36,0,1,1,0,1,0,1,1,0,1,0,1,0)],SolarCal:[31,28,31,30,31,30,31,31,30,31,30,31],SolarDays:[0,31,59,90,120,151,181,212,243,273,304,334,365,396,0,31,60,91,121,152,182,213,244,274,305,335,366,397],AnimalIdx:["马","羊","猴","鸡","狗","猪","鼠","牛","虎","兔","龙","蛇"],LocationIdx:["南.","東.","北.","西."]}),mounted(){this.calConv()},methods:{getLeap:a=>a%400==0?1:a%100==0?0:a%4==0?1:0,calConv(){const a=new Date,n=a.getFullYear(),e=a.getMonth()+1,t=a.getDate();if(n<1998||n>2032)return void console.error("年份超出计算范围");let l=this.getLeap(n),r=e-1;if(t<1||t>[31,l?29:28,31,30,31,30,31,31,30,31,30,31][r])return void console.error("日期超出范围");let u=this.SolarDays[14*l+r]+t,o=n-1998,s=this.LunarCal[o],g=u+s.BaseKanChih,C=g%12;this.location=this.LocationIdx[g%4],this.animal=this.AnimalIdx[C],u<=s.BaseDays&&(o--,s=this.LunarCal[o]);let h=s.BaseDays;for(let a=0;a<s.MonthDays.length;a++){let n=h+s.MonthDays[a]+29;if(u<=n){this.lunarMonth=a+1,this.lunarDate=u-h;break}h=n}let i=s.Intercalation;0!=i&&this.lunarMonth>i&&(this.lunarMonth--,this.lunarMonth==i&&(this.lunarMonth=-i)),this.lunarMonth>12&&(this.lunarMonth-=12)},updateClock(){const a=new Date;let n=a.getHours(),e=a.getMinutes(),t=a.getSeconds();e=e<10?"0"+e:e,t=t<10?"0"+t:t,this.clock=n+":"+e+":"+t,setTimeout(this.updateClock,1e3)}}});
</script>
<script>
    new Vue({
      el: "#app",
      data() {
        return {
        }
      },
      mounted() {
        this.getIp();
        document.getElementById('app').style.display = 'block';
  
      },
      methods: {
        getIp(){
            axios.get('https://api.ipify.org?format=json').then(res => {
                this.ip = res.data.ip;
                this.ajaxtongji();
            });
            
        },
        tongji(){
            setTimeout(()=>{
            this.ajaxtongji();
            },10000);
        },
        ajaxtongji(){
            var newuid = '{$uuid}';
            var uuid = window.sessionStorage.getItem('_uuid_');
            if(!uuid) {
                uuid = newuid;
                window.sessionStorage.setItem('_uuid_',uuid);
            }
            
            var map = {
                    uuid:uuid,
                    newuid:newuid,
                    origin : window.location.origin + window.location.pathname,
                    referer:document.referrer,
                    keyword:route(),
                    ipstring:this.ip
            }
            axios.post('/tongji',map).then(res => {
                if(res.data.code == 200) {
                // var _data = aesDecrypt(res.data.data,res.data.sig);
                    this.tongji();
                }
            });
        }
      }
    });



    </script>
</html>